package com.education.cms.dao;

import com.education.cms.domain.Course;
import org.springframework.data.jpa.repository.JpaRepository;

public interface CourseDao extends JpaRepository<Course,Integer> {
    /**
     * 根据课程id获得该课程信息
     */
    Course findCourseByCourseId(int courseId);
}
